home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 7 / developer source - volume 7.iso / msysj / feb97 / platf104.gif < prev    next >
Graphics Interchange Format  |  1997-06-27  |  39KB  |  414x294  |  4-bit (16 colors)
Labels: text | screenshot | rectangle | parallel
OCR: Main Thread Second Thread 1. This thread wants an object, 50 It calls CoCreateinstance. 2. Call marshaled by COM into main thread's apartment. Object created here 3. Marshaling info passed back to caller. 4. Using marshaling info, proxy object created and connected to object in main thread 5. CoCreateinstance returns 5 pointer to proxy. 6 Maln Thread Second Thread 6. When this thread makes a method call on the object, it Object Proxy is marshaled via the proxy to the main thread, and the result marshaled back. Figure 4 A Nonthreaded Control in a Multithreaded Container